home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group00b.txt
/
000120_icon-group-sender_Fri Oct 27 16:25:16 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2001-01-03
|
2KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id e9RNN7r04740
for icon-group-addresses; Fri, 27 Oct 2000 16:23:07 -0700 (MST)
Message-Id: <200010272323.e9RNN7r04740@baskerville.CS.Arizona.EDU>
From: symbiot@my-deja.com
X-Newsgroups: comp.lang.icon
Subject: Re: Icon beginner
Date: Fri, 27 Oct 2000 19:18:19 GMT
To: kaurp@cs.ucdavis.edu
X-Article-Creation-Date: Fri Oct 27 19:18:19 2000 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 95; DigExt)
X-Http-Proxy: 1.0 SRVPROXY, 1.0 x53.deja.com:80 (Squid/1.1.22) for client 208.51.185.226
X-MyDeja-Info: XMYDJUIDsymbiot
To: icon-group@cs.arizona.edu
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Content-Length: 1124
>From one newbie to another.....
Just a a first crack, I'd suggest looking at the upto(c) function. "c"
needs to be a cset.
I'm guessing something like....
blank := ' '
every sentence ? tab(upto(blank))
.....which, I think, will tab you over to each blank in the sentence.
Now, somewhere in there you need to dump the output into a another
string.
Anyway, I think that's on the right track.
I'd be interested in the responses any of the "expert" have given you.
Cheers!
In article <Pine.HPP.4.10.10010231150550.1522-
100000@hp16.cs.ucdavis.edu>,
Parvinder Kaur <kaurp@cs.ucdavis.edu> wrote:
> Hi,
> I'm just learning icon and I'm stumped with a particular problem.
I'm
> suppose to delete all occurrences of a space from a sentence, i.e. "Hi
> there" should become "Hithere". Any ideas of how I should approach
this
> problem. I tried using the built-in delete proc. but it wasn't
working.
> I'd appreciate any help, thanks!
> -Cos
>
>
--
"Wife who put husband in doghouse, soon find him in cathouse."
-- Wisdom of the Tao
Sent via Deja.com http://www.deja.com/
Before you buy.